package com.isunland.managesystem.common;

/**
 * Created by wangyanan on 2016/6/24.
 */
public class Calculator {
  public double parseDouble(String str) {
    double d = Double.parseDouble(str);
    return d;
  }

  public double sum(double a, double b) {

    return a + b;
  }

  public double substract(double a, double b) {
    return 0;
  }

  public double divide(double a, double b) {
    return 0;
  }

  public double multiply(double a, double b) {
    return 0;
  }

  public double testMock(double a, double b) {
    return 0;
  }
}
